class Privileges:

    def __init__(self):
        self.privileges = [
            "can add post",
            "can delete post",
            "can ban user"
        ]
    
    def show_privileges(self):
        """显示管理员的权限"""
        print("It can")
        for privilege in self.privileges:
            print(f"- {privilege}")


class Admin():
    """管理员权限"""
    def __init__(self):
        self.privileges = Privileges()

a = Admin()
a.privileges.show_privileges()